﻿using System.Text;

namespace 天离安全_天擎.Tl_Api
{
    /// <summary>
    /// 爬虫接口类
    /// </summary>
    public class CrawlerScan_Api
    {
        /// <summary>
        /// 扫描线程参数接口
        /// </summary>
        public static int Max { get; set; }
        /// <summary>
        /// 扫描的域名，包含默认值
        /// </summary>
        public static string Url { get; set; } = string.Empty;
        /// <summary>
        /// 扫描正常结果-暂不使用
        /// </summary>
        public static StringBuilder Scan_Info { get; set; } = new StringBuilder();
        /// <summary>
        /// 扫描异常结果
        /// </summary>
        public static StringBuilder Scan_Error { get; set; } = new StringBuilder();
        /// <summary>
        /// socks5代理IP地址
        /// </summary>
        public static string Socks5Proxy_IP { get; set; } = string.Empty;
        /// <summary>
        /// socks5代理端口
        /// </summary>
        public static int Socks5Proxy_Port { get; set; }
        /// <summary>
        /// http代理IP地址
        /// </summary>
        public static string HttpProxy_IP { get; set; } = string.Empty;
        /// <summary>
        /// http代理端口
        /// </summary>
        public static int HttpProxy_Port { get; set; }
        /// <summary>
        /// 代理状态
        /// </summary>
        public static bool Proxy_Status { get; set; }
    }
}
